/**
 * $RCSfile$
 * $Revision$
 * $Date$
 * $Source$
 * $Author$
 */
package pl.edu.agh.loganalizator.model;

public class Column {

  private static int idGen = 0;
  String name;

  Integer id;

  Integer type;

  public Column(String name) {
    this.name = name;
    id = idGen++;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  @Override
  public String toString() {
    // TODO Auto-generated method stub
    return name;
  }

}
